﻿using HamcoWcs.Models.Common;
using System;
using System.Collections.Generic;

namespace HamcoWcs.Models.OperationLogs
{
    public class OperationLogDto
    {
        public OperationLogDto()
        { }

        public OperationLogDto(string userName, string controller, string methodName, string unitId, string deviceName, string remark)
        {
            UserName = userName;
            Controller = controller;
            MethodName = methodName;
            UnitId = unitId;
            DeviceName = deviceName;
            Remark = remark;
        }

        public string UserName { get; set; }
        // ppk add
        public string Controller { get; set; }
        // ppk add
        public string MethodName { get; set; }
        public string UnitId { get; set; }

        public string DeviceName { get; set; }

        public string Remark { get; set; }
        public DateTime CreatedTime { get; set; }
    }
    public class QueryOperationLog : PageSizeTime
    {
        public string UserName { get; set; }

        public string UnitId { get; set; }

        public string DeviceName { get; set; }

        public string Remark { get; set; }
    }
}
